package com.obaamilos.accesscontrol;

//import com.obaamilos.accesscontrol.Usuario;

public class NNodo<E> {
	private E element;
	private NNodo<E> next;
	private NNodo<E> previous;

	public NNodo(E element) {
		this (element, null, null);
	}

	public NNodo(E element, NNodo<E> next, NNodo<E> previous) {
		super();
		this.element = element;
		this.next = next;
		this.previous = previous;
	}

	public E getElement() { 
		return element;
	}

	public void setElement(E element) { 
		this.element = element;
	}

	public NNodo<E> getNext() { 
		return next;
	}

	public void setNext(NNodo<E> next) { 
		this.next = next;
	}

	public NNodo<E> getPrevious() {
		return previous;
	}

	public void setPrevious(NNodo<E> previous)
	{ 
		this.previous = previous; 
	}
}
